package com.eshop.modules.order.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.order.service.dto.StoreOrderStatusDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.order.service.dto.StoreOrderStatusQueryCriteria;
import com.eshop.modules.order.domain.StoreOrderStatus;
import com.eshop.common.service.BaseService;

public interface StoreOrderStatusService extends BaseService<StoreOrderStatus>
{
    void create(final Long oid, final String changetype, final String changeMessage);
    
    Map<String, Object> queryAll(final StoreOrderStatusQueryCriteria criteria, final Pageable pageable);
    
    List<StoreOrderStatus> queryAll(final StoreOrderStatusQueryCriteria criteria);
    
    void download(final List<StoreOrderStatusDto> all, final HttpServletResponse response) throws IOException;
}
